Skip to content

Conversation

@Fredi-raspall
Copy link
Contributor

@Fredi-raspall Fredi-raspall commented Jan 15, 2026

Extends the conversion from CRD to internal type to allow the
support of default exposes. A default expose cannot contain
any ip/nots or nat configuration.

Signed-off-by: Fredi Raspall <[email protected]>
Since we keep at most one config, there's no need to clear
intermediate collections. Also, reorganize the code so that
adding validations is clearer.

Signed-off-by: Fredi Raspall <[email protected]>
- Forbid prefixes 0/0 or ::/0 in ip/nat/nots/as-not's in exposes
- Do not allow default exposes to have ip/nat/nots/not-as

Signed-off-by: Fredi Raspall <[email protected]>
Reorganize code so that we validate the `Peering` objects collected
in Vpcs instead of the undirected `VpcPeering` objects learnt from
the CRD.

Signed-off-by: Fredi Raspall <[email protected]>
Adds a method to return the set of prefixes that should be
advertised for an expose.

Signed-off-by: Fredi Raspall <[email protected]>
Adapt the logic to determine prefixes to be advertised for a
given peering expose.

Signed-off-by: Fredi Raspall <[email protected]>
@Fredi-raspall Fredi-raspall requested a review from a team as a code owner January 15, 2026 14:52
@Fredi-raspall Fredi-raspall requested review from qmonnet and sergeymatov and removed request for a team and sergeymatov January 15, 2026 14:52
@Fredi-raspall Fredi-raspall added the ci:-upgrade Disable VLAB upgrade tests label Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:-upgrade Disable VLAB upgrade tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants